package ee.maoinvest.backend.model.data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Date;

public class ElectricityContract implements Serializable
{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -7679544461196492349L;
	
	private int electricityContractID; 					// SMALLINT		 		NOT NULL DEFAULT nextval('seq_electricityContractID')
	private String electricityContractName; 			// VARCHAR(100) 		d_nameIsRequired
	private int electricityContractTypeFK;				// NUMERIC(2, 0)		NOT NULL
	private boolean isBasicRateNetworkService; 				// BOOLEAN 				DEFAULT false
	private Date dateInserted;							// java.util.Date	 	d_dateIsRequired
	private Date dateUpdated;							// java.util.Date		d_dateIsNotRequired
	private BigDecimal ampereBasedFeePerA; 				// NUMERIC(12, 6)
	private BigDecimal transmissionFeeDayRatePerkWh; 	// NUMERIC(12, 6)
	private BigDecimal transmissionFeeNightRatePerkWh; 	// NUMERIC(12, 6)
	private BigDecimal reactivePowerFeePerkvarh; 		// NUMERIC(12, 6)
	private String currency; 							// VARCHAR(60)			NOT NULL DEFAULT 'euro'
	private boolean isInUse; 							// BOOLEAN 				DEFAULT false
	private boolean isWrittenOff; 						// BOOLEAN 				DEFAULT false
	private Date dateOfWriteOff; 						// java.sql.Date 		d_dateIsNotRequired
	private boolean isDefaultContract;					// BOOLEAN 				DEFAULT false
	
	
	public int getElectricityContractID() 
	{
		return electricityContractID;
	}
	
	public void setElectricityContractID(int electricityContractID) 
	{
		this.electricityContractID = electricityContractID;
	}
	
	public String getElectricityContractName() 
	{
		return electricityContractName;
	}
	
	public void setElectricityContractName(String electricityContractName) 
	{
		this.electricityContractName = electricityContractName;
	}
	
	public int getElectricityContractTypeFK() 
	{
		return electricityContractTypeFK;
	}

	public void setElectricityContractTypeFK(int electricityContractTypeFK) 
	{
		this.electricityContractTypeFK = electricityContractTypeFK;
	}
	
	public boolean getIsBasicRateNetworkService() 
	{
		return isBasicRateNetworkService;
	}

	public void setIsBasicRateNetworkService(boolean isBasicRateNetworkService) 
	{
		this.isBasicRateNetworkService = isBasicRateNetworkService;
	}

	public Date getDateInserted()
	{
		return dateInserted;
	}

	public void setDateInserted(Date dateInserted) 
	{
		this.dateInserted = dateInserted;
	}
	
	public Date getDateUpdated()
	{
		return dateUpdated;
	}

	public void setDateUpdated(Date dateUpdated) 
	{
		this.dateUpdated = dateUpdated;
	}
	
	public BigDecimal getAmpereBasedFeePerA() 
	{
		return ampereBasedFeePerA;
	}
	
	public void setAmpereBasedFeePerA(BigDecimal ampereBasedFeePerA) 
	{
		this.ampereBasedFeePerA = ampereBasedFeePerA;
	}
	
	public BigDecimal getTransmissionFeeDayRatePerkWh() 
	{
		return transmissionFeeDayRatePerkWh;
	}
	
	public void setTransmissionFeeDayRatePerkWh(BigDecimal transmissionFeeDayRatePerkWh)
	{
		this.transmissionFeeDayRatePerkWh = transmissionFeeDayRatePerkWh;
	}
	
	public BigDecimal getTransmissionFeeNightRatePerkWh() 
	{
		return transmissionFeeNightRatePerkWh;
	}
	
	public void setTransmissionFeeNightRatePerkWh(
			BigDecimal transmissionFeeNightRatePerkWh) 
	{
		this.transmissionFeeNightRatePerkWh = transmissionFeeNightRatePerkWh;
	}
	
	public BigDecimal getReactivePowerFeePerkvarh() 
	{
		return reactivePowerFeePerkvarh;
	}
	
	public void setReactivePowerFeePerkvarh(BigDecimal reactivePowerFeePerkvarh) 
	{
		this.reactivePowerFeePerkvarh = reactivePowerFeePerkvarh;
	}
	
	public String getCurrency()
	{
		return currency;
	}
	
	public void setCurrency(String currency) 
	{
		this.currency = currency;
	}
	
	public boolean getIsInUse() 
	{
		return isInUse;
	}
	
	public void setIsInUse(boolean isInUse)
	{
		this.isInUse = isInUse;
	}
	
	public boolean getIsWrittenOff() 
	{
		return isWrittenOff;
	}
	
	public void setIsWrittenOff(boolean isWrittenOff)
	{
		this.isWrittenOff = isWrittenOff;
	}
	
	public Date getDateOfWriteOff() 
	{
		return dateOfWriteOff;
	}
	
	public void setDateOfWriteOff(Date dateOfWriteOff) 
	{
		this.dateOfWriteOff = dateOfWriteOff;
	}
	
	public boolean getIsDefaultContract() 
	{
		return isDefaultContract;
	}

	public void setIsDefaultContract(boolean isDefaultContract)
	{
		this.isDefaultContract = isDefaultContract;
	}

}
